package com.hujiang.basic.search.model;



import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class HJIndexRequest extends HJEsRequest  {

    private static final long serialVersionUID = 1L;
    
    private JSONObject source;

    @Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        else if (null!=obj && this.getClass() != obj.getClass()) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        return this.hashCode();
    }
}
